﻿using System;
using System.Collections.Generic;
using System.Text;
using yiwei.Repository.Entity.core;

namespace yiwei.Repository.Entity
{
    public partial class Module : TreeEntity
    {



        /// <summary>
        /// 主页面URL
        /// </summary>
        public string Url { get; set; }

        /// <summary>
        /// 是否叶子节点
        /// </summary>
        public bool IsLeaf { get; set; }
        /// <summary>
        /// 是否自动展开
        /// 
        public bool IsAutoExpand { get; set; }
        /// <summary>
        /// 节点图标文件名称
        /// </summary>
        public string IconName { get; set; }
        /// <summary>
        /// 当前状态，0：正常，-1：隐藏，不在导航列表中显示
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        /// 矢量图标
        /// </summary>
        public string Vector { get; set; }
        /// <summary>
        /// 排序号
        /// </summary>
        public int SortNo { get; set; }

        /// <summary>
        /// 模块标识
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 是否系统模块
        /// </summary>
        public bool IsSys { get; set; }
   

        public List<ModuleElement> ModuleElements { get; set; } // 是集合导航属性

    }
}
